<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<script type="text/javascript">

$(function() {
	$("#days").datepicker();
});

function searchBtn() {
	$.ajax({
		url: "reportForDay_detail.ga",
		type: "post",
		dataType: "html",
		data: {
			days: $("#days").val()
		},
		success: function(data) {
			$("#result").html(data);
		},
		error: function(e) {
			alert("오류 , \n" + e);
		}
	});
}

</script>


</head>
<body>

<h2>일별 상세 리포트</h2>

날짜 선택 &nbsp;
<input type="text" id="days" style="cursor:pointer;" readonly/> &nbsp;
<input type="button" value="검색" onclick="searchBtn()"/>

<br/><br/>

<div id="result"></div>

</body>
</html>